<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>课程体系详情</title>
	<meta name="decorator" content="default"/>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/resource/resourceCoursesystem/">课程体系列表</a></li>
		<li class="active"><a href="${ctx}/resource/resourceCoursesystem/detail?id=${resourceCoursesystem.id}">课程体系详情</a></li>
	</ul><br/>
	<form:form id="inputForm" modelAttribute="resourceCoursesystem" action="" method="post" class="form-horizontal">
		<sys:message content="${message}"/>
		<div class="control-group">
			<label class="control-label">课程体系名称：</label>
			<div class="controls">
				<form:input name="coursesystemName" path="coursesystemName"  htmlEscape="false" maxlength="64" class="input-xlarge required" readonly="true"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">课程体系属性：</label>
			<div class="controls">
				<form:select path="coursesystemAttribute" class="input-xlarge required" name="coursesystemAttribute" disabled="true">
					<form:option value="" label="">===请选择===</form:option>
					<form:options items="${fns:getDictList('resource_coursesystem_attribute')}" itemLabel="label"
								  itemValue="value" htmlEscape="false"/>
				</form:select>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">备注信息：</label>

			<div class="controls">
				<form:textarea path="remarks" htmlEscape="false" rows="4" maxlength="255" class="input-xxlarge " readonly="true"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">课程：</label>
			<div class="controls">
				<table id="contentTable" class="table table-striped table-bordered table-condensed">
					<thead>
					<tr>
						<th>课程序号</th>
						<th>课程名称</th>
					</tr>
					</thead>
					<tbody>
					<c:forEach items="${page.list}" var="resourceCourse" varStatus="status">
					<tr>
						<td>
								${status.count}
						</td>
						<td>
							    ${resourceCourse.courseName}
						</td>


					</tr>
					</c:forEach>
					</tbody>
				</table>
				<div class="pagination">${page}</div>
			</div>
		</div>
		<div class="form-actions">
			<input id="btnSubmit" class="btn btn-primary" type="button" value="课程列表查看" onclick="window.location.href='${ctx}/resource/resourceCourse/findPageByCoursesystemId?courseSystemId=${resourceCoursesystem.id}'"/>&nbsp;
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form:form>

</body>
</html>